package be.novelfaces.component.util.attribute;

import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;

import be.novelfaces.component.util.element.PanelWriter;

public class PanelAttributesWriterBuilder extends AttributesWriterBuilder {
	
	public PanelAttributesWriterBuilder(FacesContext context,
			UIComponent component) {
		super(context, component);
	}
	
	public PanelAttributesWriterBuilder(FacesContext context,
			UIComponent component, PanelWriter panelWriter) {
		super(context, component, panelWriter);
	}

	public AttributesWriterBuilder withAllAttributesForPanel() {
		withGlobalAttributes();
		withFormEvents();
		withKeyboardEvents();
		withMouseEvents();
		return this;
	}

}
